﻿@model FILSTARTUPS_MOBILE.Models.LoginModel

@{
    ViewBag.Title = "Login";
    Layout = "~/Views/Shared/_LayoutArticles.cshtml";
}

<h2>Login</h2>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>
        <div class="editor-label">
            @Html.LabelFor(model => model.emailaddress)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.emailaddress)
            @Html.ValidationMessageFor(model => model.emailaddress)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.password)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.password)
            @Html.ValidationMessageFor(model => model.password)
        </div>

        <p>
            <div data-role="controlgroup" data-type="horizontal">
            <input type="submit" data-inline=true value="Login" />
            <a href="Index" data-role="button" data-transition="flip">Cancel</a>
            </div>
        </p>
    </fieldset>
}